﻿// See https://aka.ms/new-console-template for more information
//using Newtonsoft.Json;
//using ScheduleUtil;

//Console.WriteLine("Hello, World!");

//var weekTimesTable = new WeekTimesTable();

//List<TimeFlag> timeFlags = new List<TimeFlag>();
//timeFlags.Add(new TimeFlag() { open = "00:00:00", close = "01:15:00" });
//timeFlags.Add(new TimeFlag() { open = "05:45:00", close = "23:59:59" });

//weekTimesTable.dayTimesFlags[0] = new DayTimesFlag() { timeFlags = timeFlags };
//weekTimesTable.dayTimesFlags[1] = new DayTimesFlag() { timeFlags = timeFlags };
//weekTimesTable.dayTimesFlags[2] = new DayTimesFlag() { timeFlags = timeFlags };
//weekTimesTable.dayTimesFlags[3] = new DayTimesFlag() { timeFlags = timeFlags };
//weekTimesTable.dayTimesFlags[4] = new DayTimesFlag() { timeFlags = timeFlags };
//weekTimesTable.dayTimesFlags[5] = new DayTimesFlag() { timeFlags = timeFlags };
//weekTimesTable.dayTimesFlags[6] = new DayTimesFlag() { timeFlags = timeFlags };

//Schedule.SetTimesTable(weekTimesTable);
//bool rs = Schedule.CheckInTime();
//Console.WriteLine(rs);

//Console.WriteLine(JsonConvert.SerializeObject(weekTimesTable));
